package com.aaa.mapper;

import com.aaa.pojo.Role;

import java.util.List;

public interface RoleMapper {
    /**
     *
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @param record
     * @return
     */
    int insertSelective(Role record);

    /**
     *
     * @param id
     * @return
     */
    Role selectByPrimaryKey(Integer id);

    /**
     *
     * @return
     */
    List<Role> selectAll();
    /**
     *
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(Role record);
}